﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="AuditManager.ascx.cs"
    Inherits="Web.Cms.Audits.AuditManager" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="radCln" %>
<p class="heading" >
    Truy vấn lưu vết
</p>
<table width="100%" cellpadding="2" cellspacing="4">
    <tr>
        <td colspan="3">
            <strong style="color: Black">Danh sách Module trong hệ thống:</strong>
            <asp:Label ID="lblModuleDefID" runat="server" Visible="false"></asp:Label>
        </td>
    </tr>
    <tr>
        <td colspan="3">
            <strong>
                <asp:HyperLink ID="lnkSystem" Text="Login hệ thống" CssClass="ModuleStyle" runat="server"></asp:HyperLink>
            </strong>|
            <asp:Repeater ID="rptModules" runat="server">
                <ItemTemplate>
                    <strong>
                        <asp:HyperLink ID="lnkMoudle" CssClass="ModuleStyle" runat="server"></asp:HyperLink></strong>
                </ItemTemplate>
                <SeparatorTemplate>
                    |</SeparatorTemplate>
            </asp:Repeater>
        </td>
    </tr>
    <tr>
        <td align="right" style="height: 48px;">
            <strong>Từ:&nbsp;</strong> Giờ
            <asp:DropDownList ID="dropHourFrom" runat="server">
            </asp:DropDownList>
            Phút
            <asp:DropDownList ID="dropMinuteFrom" runat="server">
            </asp:DropDownList>,<radCln:RadDatePicker ID="rdpFrom" runat="server" TabIndex="10"
                MinDate="2008-01-01" SelectedDate="2008-01-01">
                <DatePopupButton TabIndex="10" />
                <DateInput Title="Ng&#224;y sinh" Width="150px" TabIndex="10" />
            </radCln:RadDatePicker>
            &nbsp;&nbsp;
        </td>
        <td width="10%" style="height: 48px;">
        </td>
        <td style="height: 48px" align="left">
            <strong>Đến:</strong> &nbsp; Giờ
            <asp:DropDownList ID="dropHourEnd" runat="server">
            </asp:DropDownList>
            Phút
            <asp:DropDownList ID="dropMinuteEnd" runat="server">
            </asp:DropDownList>,&nbsp;<radCln:RadDatePicker ID="rdpTo" runat="server" TabIndex="10"
                MinDate="2008-01-01">
                <DatePopupButton TabIndex="10" />
                <DateInput Title="Ng&#224;y sinh" Width="150px" TabIndex="10" />
            </radCln:RadDatePicker>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td width="10%" align="center">
            <asp:Button ID="btnStatistic" runat="server" CssClass="Button_Statistic" />
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td colspan="3" id="tdRecycle" runat="server">
            <div style="float: left">
                <a id="r" runat="server" onclick="$('#divShow ').toggle(1000)">
                    <img runat="server" height="50"  src="~/App_Themes/Default/Images/Recyclebin.gif"
                        id="as" />
                </a>
            </div>
            <div style="display: none;float: left; background-color:#C5E4FF;padding:5PX;" id="divShow">
                Xóa đến ngày:
                <radCln:RadDatePicker ID="radUntilDate" runat="server" TabIndex="10" MinDate="2008-01-01">
                    <DateInput Title="Ng&#224;y sinh" Width="150px" TabIndex="10" />
                    <DatePopupButton TabIndex="10" />
                </radCln:RadDatePicker>
                <br />
                <asp:LinkButton ID="lnkDelete" runat="server" CssClass="auditlinkStyle" OnClick="lnkDelete_Click">Xóa</asp:LinkButton>
                &nbsp; &nbsp; &nbsp;<a onclick="$('#divShow ').hide(1000)" class="auditlinkStyle" href="#">Đóng</a>
                </div>
        </td>
    </tr>
    <tr>
        <td colspan="3">
            <strong>Các hoạt động trên Module:
                <asp:Label ID="lblStatus" runat="server" ForeColor="Red"></asp:Label></strong>
        </td>
    </tr>
    <tr>
        <td colspan="3" style="height: 51px">
            <asp:GridView ID="grvAudits" Width="100%" runat="server" SkinID="AdminGrid" AutoGenerateColumns="False"
                OnPageIndexChanging="grvAudits_PageIndexChanging" OnRowDataBound="grvAudits_RowDataBound"
                PageSize="50">
                <Columns>
                    <asp:BoundField HeaderText="STT">
                        <ItemStyle HorizontalAlign="Center" Width="2%" />
                    </asp:BoundField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            Tên người dùng</HeaderTemplate>
                        <ItemStyle HorizontalAlign="left" />
                        <ItemTemplate>
                            <asp:Label ID="lblUserName" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            Thao tác</HeaderTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lblAction" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            Trên mục</HeaderTemplate>
                        <ItemStyle HorizontalAlign="left" />
                        <ItemTemplate>
                            <asp:Label ID="lblCommandTitle" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            Mã đối tượng</HeaderTemplate>
                        <ItemStyle HorizontalAlign="Right" />
                        <ItemTemplate>
                            <asp:Label ID="lblObjectID" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            Mô tả đối tượng</HeaderTemplate>
                        <ItemStyle Width="40%" HorizontalAlign="left" />
                        <ItemTemplate>
                            <asp:Label ID="lblOjectDescription" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            Thời gian</HeaderTemplate>
                        <ItemStyle HorizontalAlign="left" />
                        <ItemTemplate>
                            <asp:Label ID="lblCreateOn" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </td>
    </tr>
</table>
